home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2001 May / macformat_103_may_2001.iso / Demos / REALbasic® 3 / REALbasic 3 / REALbasic 3.rsrc / STR#_139.txt < prev    next >
Encoding:
Text File  |  2001-01-31  |  6.0 KB  |  185 lines

  1. Separator Control
  2.  
  3. To add a separator, drag this control  to the window.
  4.  
  5. Line Control
  6.  
  7. To add a line, drag this control  to the window.
  8.  
  9. To draw a line, drag the line control to your window. To draw the line horizontally or  vertically, hold down Shift while resizing the line control.
  10.  
  11. StaticText Control
  12.  
  13. To add non-selectable text, drag this control  to the window.
  14.  
  15. Oval Control
  16.  
  17. To add an oval, drag this control to the window.
  18.  
  19. To resize the oval and constrain the resizing to width or height only, hold Shift while resizing it.
  20.  
  21. Round Rectangle Control
  22.  
  23. To add a rectangle with rounded corners, drag this control to the window.
  24.  
  25. To set the arc of the corners, change the values of the OvalWidth and OvalHeight properties.
  26.  
  27. Rectangle Control
  28.  
  29. To add a rectangle, drag this control to the window. 
  30.  
  31. To resize the rectangle and constrain the resizing to width or height only, hold Shift while resizing it.
  32.  
  33. Placard Control
  34.  
  35. To add a placard, drag this control  to the window.
  36.  
  37. ImageWell Control
  38.  
  39. To add an imagewell, drag this control  to the window.
  40.  
  41. Canvas Control
  42.  
  43. To add a canvas, drag this control to the window.
  44.  
  45. Canvas controls are used to display pictures, draw pictures and because they also receive events, to create custom interface controls.
  46.  
  47. PopupArrow Control
  48.  
  49. To add a popuparrow, drag this control  to the window.
  50.  
  51. DisclosureTriangle Control
  52.  
  53. To add a disclosuretriangle, drag this control  to the window.
  54.  
  55. EditField Control
  56.  
  57. To add an editfield, drag this control to the window.
  58.  
  59. To allow multiple lines of text to be entered or displayed in an editfield, with the editfield selected, turn on the Multiline property in the Properties window.
  60.  
  61. ScrollBar Control
  62.  
  63. To change a scrollbar from horizontal to vertical, resize the scrollbar until its height is greater than its width. Note: The standard height of a horizontal scrollbar and the standard width of a vertical scrollbar is 16 pixels.
  64.  
  65. ScrollBar Control
  66.  
  67. To change a scrollbar from horizontal to vertical, resize the scrollbar until its height is greater than its width. Note: The standard height of a horizontal scrollbar and the standard width of a vertical scrollbar is 16 pixels.
  68.  
  69. Popupmenu Control
  70.  
  71. To add a popup menu, drag this control to the window.
  72.  
  73. To enter a list of items for the popup menu, with the popup menu selected, click the InitialValue property's Edit button in the Properties window.
  74.  
  75. LittleArrows Control
  76.  
  77. To add a littlearrows control, drag this control  to the window.
  78.  
  79. BevelButton Control
  80.  
  81. To add a bevelbutton, drag this control  to the window.
  82.  
  83. PushButton Control
  84.  
  85. To add a pushbutton, drag this control to the window.
  86.  
  87. To add a default ring, with the pusbutton selected, turn on the Default property in the Properties window. To associate Command-period, turn on the Cancel property.
  88.  
  89. Slider Control
  90.  
  91. To add a slider, drag this control to the window.
  92.  
  93. Sliders appear as scrollbars on the Macintosh unless MacOS 8 or greater is installed.
  94.  
  95. ListBox Control
  96.  
  97. To add a listbox, drag this control to the window.
  98.  
  99. To enter a list of items for the listbox, with the listbox selected, click the InitialValue properties‚Äô Edit button in the Properties window.
  100.  
  101. ListBox Control
  102.  
  103. To add a listbox, drag this control to the window.
  104.  
  105. To enter a list of items for the listbox, with the listbox selected, click the InitialValue properties‚Äô Edit button in the Properties window.
  106.  
  107. ProgressBar Control
  108.  
  109. To add a progressbar, drag this control to the window.
  110.  
  111. To display indeterminate progress (in the form of a barber pole), with the progressbar selected, change the Maximum property in the Properties window to 0 (zero).
  112.  
  113. Checkbox Control
  114.  
  115. To add a checkbox, drag this control to the window.
  116.  
  117. To cause a several checkboxes to share the same code, give each checkbox the same name. This will cause REALbasic to create a control array.
  118.  
  119. RadioButton Control
  120.  
  121. To add a radiobutton, drag this control to the window.
  122.  
  123. If you have more than one group of radio buttons in a window, place all of the radio buttons of a group into a groupbox to allow the user to select from each group.
  124.  
  125. ChasingArrows Control
  126.  
  127. To add chasingarrows, drag this control  to the window.
  128.  
  129. GroupBox Control
  130.  
  131. To add a groupbox, drag this control to the window.
  132.  
  133. To allow the user to make a single selection from each group of radio buttons when you have multiple groups in a window, place each group in a groupbox.
  134.  
  135. TabPanel Control
  136.  
  137. To add, edit or delete tabs in a tab panel, click on the rightmost tab to display the Tab editor. To place a control on a specific tab, click on the tab to bring it to the front, then drag the control on to the tab panel.
  138.  
  139. SpriteSurface Control
  140.  
  141. To add a spritesurface, drag this control to the window.
  142.  
  143. Use the spritesurface to create sprite animation.
  144.  
  145. (not used)
  146.  
  147. MoviePlayer Control
  148.  
  149. To add a movieplayer, drag this control to the window.
  150.  
  151. The movieplayer is used to play QuickTime movies.
  152.  
  153. NotePlayer Control
  154.  
  155. The noteplayer doesn‚Äôt display at runtime. Use the noteplayer when you want to play musical notes with a variety of different instruments via the QuickTime Musical Instruments extension.
  156.  
  157. ContextualMenu Control
  158.  
  159. To add a contextualmenu, drag this control to the window.
  160.  
  161. The contextualmenu control doesn‚Äôt display at runtime. However, you can use this control to display a customized contextual menu  in response to the users actions.
  162.  
  163. Timer Control
  164.  
  165. To add a timer, drag this control to the window.
  166.  
  167. Timer controls don‚Äôt display at runtime. You use a timer control when you need to execute code one or more times after a specified number of milliseconds has passed.
  168.  
  169. Serial Control
  170.  
  171. To add a serial control, drag this control to the window.
  172.  
  173. Serial controls don‚Äôt display at runtime. You use a serial control to send and receive data via a serial port to communicate with a serial device such as a modem.
  174.  
  175. DatabaseQuery Control
  176.  
  177. To add a DatabaseQuery, drag this control  to the window.
  178.  
  179. Socket Control
  180.  
  181. To add a socket, drag this control to the window.
  182.  
  183. Socket controls don‚Äôt display at runtime. You use a socket control to send and receive data via TCP/IP over a LAN or the Internet.
  184.  
  185.